        <?php if($session->read('grouptype')=='S-Admins'){ ?>
        <a href="<?php echo Configure::read('base_url');?>backstage/messages/group_message" title="Group Message">Group Message </a>

        |
        <?php
        }
        if(($session->read('grouptype')=='S-Admins') OR ($session->read('grouptype')=='Q-Admins')){ ?>
            <a href="<?php echo Configure::read('base_url');?>backstage/messages/new_message" title="New"> New </a>
         
            |
              <?php
          }
           ?>
            <a href="<?php echo Configure::read('base_url');?>backstage/messages" title="New"> Inbox </a>
            |<a href="<?php echo Configure::read('base_url');?>backstage/messages/sent" title="Sent Items"> Sent Items </a>
            |<a href="<?php echo Configure::read('base_url');?>backstage/messages/archive" title="Archive"> Archive </a>
            |<a href="<?php echo Configure::read('base_url');?>backstage/messages/setting" title="Settings"> Settings </a>